import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);
import vuexPersist from "vuex-persist";

export default new Vuex.Store({
  state: {
    list: [
      {
        title: "爱奇艺",
      },
      {
        title: "adidas字体",
      },
      {
        title: "阿里巴巴",
      },
      {
        title: "阿巴阿巴",
      },
      {
        title: "阿里云",
      },
      {
        title: "安能物流",
      },
      {
        title: "阿里巴巴矢量图表",
      },
      {
        title: "阿里",
      },
    ],
  },
  mutations: {},
  actions: {},
  modules: {},
  plugins: [
    new vuexPersist({
      storage: window.localStorage,
    }).plugin,
  ],
});
